#!/bin/bash

CONFIG=/etc/layman/layman.cfg
cp ${CONFIG} ${CONFIG}.bak
sed < ${CONFIG}.bak 's,^\([# ]*\)overlays\( *\):\( *\),\1overlays\2:\3http://paf-ebuilds.googlecode.com/svn/trunk/layman.xml\n\1        \2 \3,' > $CONFIG
layman -L >/dev/null
